<include file="YiCms/Tpl/User/Default/Public_header.html"/>
<div id="right">
	<if condition="empty($articles)">
		<div><h2>{YICMS:$profile.uname}.没有发布过文章</h2></div>
	<else/>
		<volist name="articles" id="vo">
			<div style="border:1px solid #ccc;padding:10px 30px;margin-bottom:5px;-moz-border-radius:7px;-webkit-border-radius: 7px;">
				<div>@<a href="/article/{YICMS:$vo.id}" style="padding-bottom:3px;border-bottom:1px dashed black">{YICMS:$vo.title}</a></div>
				<div title="{YICMS:$vo.time|switchtime=###}">{YICMS:$vo.content|msubstr=###,0,80,'utf-8',false}</div>
				<if condition="!empty($vo['pic'])">
					<img src="{YICMS:$YICMS_PUBLIC}/news/m_{YICMS:$vo.pic}"/>
				</if>
				<if condition="!empty($vo['video'])">
					<embed src="{YICMS:$vo.video}" type="application/x-shockwave-flash" width="550" height="400" quality="high" allowfullscreen="true"/>
				</if>
			</div>	
		</volist>
		<div class="pagination">{YICMS:$page}</div>
	</if>	
</div>
<include file="YiCms/Tpl/User/Default/Public_footer.html"/>